package nodeList;

public interface LinkedList {
    void add(Object data);

    boolean remove(int index);

    Object get(int index);

    Object set(int index, Object newData);

    boolean contains(Object data);

    int size();

    Object[] toArray();

    void clear();
}
